"use strict"
//查询收入
const mvc = require("cosjs.mvc");
exports.query = async function () {
    const sid = this.get('sid', 'int');
    if (!sid) {
        return [];
    }
    let _mode = mvc.model.mongo('income', sid);
    let _que = {};
    let _option = { "multi": true, "dataType": "array", "limit": 500, 'batchSize': 500 };
    let _ret = await _mode.find(_que, _option);
    return _ret;
}


